package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class PhoneRecharge implements Serializable {
    private Integer id;

    /**
     * 充值手机号
     *
     * @mbg.generated
     */
    private String phone;

    /**
     * 订单号
     *
     * @mbg.generated
     */
    private String orderNo;

    /**
     * 平台 h5 app
     *
     * @mbg.generated
     */
    private String platform;

    /**
     * 渠道
     *
     * @mbg.generated
     */
    private String channel;

    /**
     * 充值平台订单号
     *
     * @mbg.generated
     */
    private String rechargeNo;

    /**
     * UUID
     *
     * @mbg.generated
     */
    private String uuid;

    /**
     * 回调时间
     *
     * @mbg.generated
     */
    private Date payCallbackTime;

    /**
     * 平台回调时间
     *
     * @mbg.generated
     */
    private Date platformCallbackTime;

    /**
     * 平台请求时间
     *
     * @mbg.generated
     */
    private String platformTime;

    /**
     * 订单状态(1:支付中2：支付失败3：支付成功 4：已退款)
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 充值是否成功 1 成功2：充值中3：充值失败 4：已退款
     *
     * @mbg.generated
     */
    private Integer rechargeStatus;

    /**
     * 退款单号
     *
     * @mbg.generated
     */
    private String refundNo;

    /**
     * 支付类型(wx,alipay)
     *
     * @mbg.generated
     */
    private String payType;

    /**
     * 面额（分）
     *
     * @mbg.generated
     */
    private Integer denomination;

    /**
     * 赠送积分
     *
     * @mbg.generated
     */
    private Integer giveIntegral;

    /**
     * 售价（分）
     *
     * @mbg.generated
     */
    private Integer price;

    /**
     * 运营商（01:中国移动02：中国联通03：中国电信）
     *
     * @mbg.generated
     */
    private String operators;

    /**
     * 异常订单(0:正常1：异常)
     *
     * @mbg.generated
     */
    private Integer errorStatus;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 充值类型 H5-MWEB  APP-APP  APP-JSAPI
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 回调
     *
     * @mbg.generated
     */
    private String payCallback;

    /**
     * 请求
     *
     * @mbg.generated
     */
    private String payResult;

    /**
     * 平台回调结果
     *
     * @mbg.generated
     */
    private String platformCallback;

    /**
     * 平台请求结果
     *
     * @mbg.generated
     */
    private String platformResult;

    /**
     * 平台请求参数
     *
     * @mbg.generated
     */
    private String platformParameter;

    /**
     * 退款信息
     *
     * @mbg.generated
     */
    private String refundMsg;

    /**
     * 是否返话费订单
     *  1-是 0-否
     */
    private Integer giveFlag;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getRechargeNo() {
        return rechargeNo;
    }

    public void setRechargeNo(String rechargeNo) {
        this.rechargeNo = rechargeNo;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Date getPayCallbackTime() {
        return payCallbackTime;
    }

    public void setPayCallbackTime(Date payCallbackTime) {
        this.payCallbackTime = payCallbackTime;
    }

    public Date getPlatformCallbackTime() {
        return platformCallbackTime;
    }

    public void setPlatformCallbackTime(Date platformCallbackTime) {
        this.platformCallbackTime = platformCallbackTime;
    }

    public String getPlatformTime() {
        return platformTime;
    }

    public void setPlatformTime(String platformTime) {
        this.platformTime = platformTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRechargeStatus() {
        return rechargeStatus;
    }

    public void setRechargeStatus(Integer rechargeStatus) {
        this.rechargeStatus = rechargeStatus;
    }

    public String getRefundNo() {
        return refundNo;
    }

    public void setRefundNo(String refundNo) {
        this.refundNo = refundNo;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Integer getDenomination() {
        return denomination;
    }

    public void setDenomination(Integer denomination) {
        this.denomination = denomination;
    }

    public Integer getGiveIntegral() {
        return giveIntegral;
    }

    public void setGiveIntegral(Integer giveIntegral) {
        this.giveIntegral = giveIntegral;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getOperators() {
        return operators;
    }

    public void setOperators(String operators) {
        this.operators = operators;
    }

    public Integer getErrorStatus() {
        return errorStatus;
    }

    public void setErrorStatus(Integer errorStatus) {
        this.errorStatus = errorStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPayCallback() {
        return payCallback;
    }

    public void setPayCallback(String payCallback) {
        this.payCallback = payCallback;
    }

    public String getPayResult() {
        return payResult;
    }

    public void setPayResult(String payResult) {
        this.payResult = payResult;
    }

    public String getPlatformCallback() {
        return platformCallback;
    }

    public void setPlatformCallback(String platformCallback) {
        this.platformCallback = platformCallback;
    }

    public String getPlatformResult() {
        return platformResult;
    }

    public void setPlatformResult(String platformResult) {
        this.platformResult = platformResult;
    }

    public String getPlatformParameter() {
        return platformParameter;
    }

    public void setPlatformParameter(String platformParameter) {
        this.platformParameter = platformParameter;
    }

    public String getRefundMsg() {
        return refundMsg;
    }

    public void setRefundMsg(String refundMsg) {
        this.refundMsg = refundMsg;
    }

    public Integer getGiveFlag() {
        return giveFlag;
    }

    public void setGiveFlag(Integer giveFlag) {
        this.giveFlag = giveFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", phone=").append(phone);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", platform=").append(platform);
        sb.append(", channel=").append(channel);
        sb.append(", rechargeNo=").append(rechargeNo);
        sb.append(", uuid=").append(uuid);
        sb.append(", payCallbackTime=").append(payCallbackTime);
        sb.append(", platformCallbackTime=").append(platformCallbackTime);
        sb.append(", platformTime=").append(platformTime);
        sb.append(", status=").append(status);
        sb.append(", rechargeStatus=").append(rechargeStatus);
        sb.append(", refundNo=").append(refundNo);
        sb.append(", payType=").append(payType);
        sb.append(", denomination=").append(denomination);
        sb.append(", giveIntegral=").append(giveIntegral);
        sb.append(", price=").append(price);
        sb.append(", operators=").append(operators);
        sb.append(", errorStatus=").append(errorStatus);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", type=").append(type);
        sb.append(", payCallback=").append(payCallback);
        sb.append(", payResult=").append(payResult);
        sb.append(", platformCallback=").append(platformCallback);
        sb.append(", platformResult=").append(platformResult);
        sb.append(", platformParameter=").append(platformParameter);
        sb.append(", refundMsg=").append(refundMsg);
        sb.append(", giveFlag=").append(giveFlag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}